import 'package:flutter_taotaoshipin/generated/json/base/json_field.dart';
import 'package:flutter_taotaoshipin/generated/json/drama_detail_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class DramaDetailEntity {

	int? id;
	@JSONField(name: "drama_id")
	int? dramaId;
	String? title;
	String? vid;
	int? money;
	@JSONField(name: "is_pay")
	int? isPay;
	int? ctime;
  
  DramaDetailEntity();

  factory DramaDetailEntity.fromJson(Map<String, dynamic> json) => $DramaDetailEntityFromJson(json);

  Map<String, dynamic> toJson() => $DramaDetailEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}